package prototype.deepClone;

import java.io.Serializable;

/**
 * @program: DesignModeProject
 * @description:
 * @author: Li canzhang
 * @create: 2022-05-15 10:42
 **/
public class DeepCloneTarget implements Serializable, Cloneable {

    private static final long serialVersionUID = 1312254095736643901L;
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public DeepCloneTarget(String name) {
        this.name = name;
    }

    @Override
    protected Object clone() throws CloneNotSupportedException {
        return super.clone();
    }
}
